package jsyf.oa.facade.wechat.service_company;

import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType;
import com.alibaba.fastjson.JSONObject;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

/**
 * Created by jjx on 2018/3/23.
 */
@Path("/wechatSynchronizationContactsFacade")
@Consumes({MediaType.APPLICATION_JSON, MediaType.TEXT_XML})
@Produces({ContentType.APPLICATION_JSON_UTF_8, ContentType.TEXT_XML_UTF_8})
public interface WechatSynchronizationFacade {

    @Path("/touchSynchronization")
    String touchSynchronization(String jsonData) throws Exception;

    //批量部门
    @Path("/batchReplaceparty")
    JSONObject batchReplaceparty(JSONObject jsonObject);

    //批量成员
    @Path("/batchReplaceuser")
    JSONObject batchReplaceuser(JSONObject jsonObject);

}
